<?php

declare(strict_types=1);

namespace think\auth\facade;

use think\Facade;
use think\Collection;
use think\auth\model\RoleModel;

/**
 * @package think\auth\facade
 * @see \think\auth\service\Role
 * @mixin \think\auth\service\Role
 * @method static Collection|array List()
 * @method static RoleModel Create(string $roleName)
 * @method static RoleModel|null Fetch(int|string $roleId)
 * @method static bool|int Delete(RoleModel $role)
 */
class Role extends Facade
{
    /**
     * 获取当前Facade对应类名（或者已经绑定的容器对象标识）.
     *
     * @return string
     */
    protected static function getFacadeClass(): string
    {
        return \think\auth\service\Role::class;
    }
}
